/*
 * @Author: ReinerLau lk850593913@gmail.com
 * @Date: 2022-09-15 10:31:21
 * @LastEditors: ReinerLau lk850593913@gmail.com
 * @LastEditTime: 2022-09-26 09:07:03
 * @FilePath: \robot\src\api\robot-vehicle-log.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "@/utils/request";

export function fetchList(params) {
  return request({
    url: "/robot-vehicle-log/v1",
    method: "get",
    params: params,
  });
}

export function getCarInfo(id) {
  return request({
    url: `/robot-vehicle-log/v1/getone/${id}`,
    method: "get",
  });
}

export function getEnviromentInfo() {
  return request({
    url: "/opencv-record/v1/list",
    method: "get",
  });
}
